package com.example.study.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.study.common.api.ResultUtil;
import com.example.study.model.ClassPO;
import com.example.study.model.ClassVO;

public interface ClassService extends IService<ClassPO> {

    ResultUtil saveClass(ClassVO clazz);

    ResultUtil getClassList();

    ResultUtil getClassPage(int pageIndex, int pageSize);

    ResultUtil getClassById(Long id);

    //根据班级Id获取班级学生与老师信息
    ResultUtil getStuTeachByClassId(Long id);
}
